import React from 'react';
import './index.less';
import {connect} from "dva";
import Curd from "components/Curd";
import createColumns from "./columns";
import PropTypes from "prop-types";

@connect(({orderDetail, goodType}) => ({orderDetail, goodType}))
export default class extends Curd {

  static defaultProps = {
    showToolbar: false,
    pagination: false,
    align: 'center',
    searchType: 'inline',
    searchCols: {span: 8},
  }

  constructor(props){
    super(props);
  }

  getNamespace() {
    return 'orderDetail';
  }

  getTableColumns() {
    return createColumns(this);
  }

  componentDidMount() {
  }

}
